Skip to content

Add private-deep-imports lint (disallow metro*/src/...)#1528

Closed
robhogan wants to merge 1 commit into
mainfrom
export-D77832800
Closed

Add private-deep-imports lint (disallow metro*/src/...)#1528
robhogan wants to merge 1 commit into
mainfrom
export-D77832800

Conversation

@robhogan

@robhogan robhogan commented Jul 7, 2025

Copy link
Copy Markdown
Contributor

Differential Revision: D77832800

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 7, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary: Pull Request resolved: #1528

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Differential Revision: D77832800
facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

robhogan added a commit that referenced this pull request Jul 9, 2025
Summary:

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@robhogan robhogan force-pushed the export-D77832800 branch from 911cf94 to 319df7b Compare July 9, 2025 09:58
Summary:
Pull Request resolved: #1528

Lint against `metro*/src/`-style deep imports, as a step towards disallowing them.

Deep imports will still be allowed, but will be required to use `metro*/private` and hence explicitly come without semver stability guarantees.

Changelog: Internal

Reviewed By: vzaidman

Differential Revision: D77832800
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77832800

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 2d926dd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants